package com.team.service;

import java.util.List;

import com.team.entity.Announcement;
import com.team.entity.CapitalReport;
import com.team.entity.DutyOfficer;
import com.team.entity.Equipment;
import com.team.entity.RepairMan;



/*
 * 管理模块service
 */
public interface AdminiStrationService {

	public void savedutyOfficer(DutyOfficer dutyOfficer);
	public List<DutyOfficer> listallDutyOfficer();
     public void saveRepairMan(RepairMan repairMan);
     public List<RepairMan> listallRepairMan();
     public  RepairMan finRepairManById(int id);
     public void updRepairMan(RepairMan repairMan);
     public void delRepairMan(RepairMan repairMan);
     public void saveAnnouncement(Announcement announcement);
     public List<Announcement> listAllAnnouncement();
     public Announcement finAnnouncementById(int id);
     public List<Equipment> selectEquipmentBystatus();
     public void equipmentok(int id); 
     public  List<CapitalReport> listMonthPeport(int month, int pagenum); //查看月度报表
     public  void saveCapitalReport(CapitalReport capitalReport); //添加报表
     public  List<CapitalReport> listSeasonPeport(String season, int pagenum );//查看季度报表
 	public  List<CapitalReport> listYearPeport(int year, int pagenum);  //查看年度报表
}
